package io.seata.samples.integration.account.controller;


import io.seata.samples.integration.common.response.BaseResponse;
import io.seata.samples.integration.common.response.ObjectResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/healthz")
@Slf4j
public class HealthController {

    @GetMapping("/readness")
    public BaseResponse readHealthz(){
        return new BaseResponse();
    }

    @GetMapping("/liveness")
    public BaseResponse liveHealthz(){
        return new BaseResponse();
    }
}
